package com.apple1.blogservices;

import com.apple1.blogentity.Article;
import com.apple1.blogentity.Repository;
import com.apple1.blogentity.vo.ArticleVo;
import com.apple1.blogentity.vo.LibNameVo;
import com.apple1.blogentity.vo.RepositoryVo;

import java.util.List;

public interface RepositoryService {

    List<ArticleVo> selectAllLibArticles(Integer repository_id);

    int delLibArtcile(Integer repository_id,Integer article_id);

    int addArticleToRepository(RepositoryVo repositoryVo);

    int addLibName(LibNameVo libNameVo);

    int updateLibName(LibNameVo libNameVo);

    int delLibName(Integer lib_id);

    LibNameVo selectLibNameInfo(Integer lib_id);
}
